package com.wm.dao;

import com.wm.bean.OrderMenu;

/**
 * @author yangbo
 *
 * 2012-12-26
 */
public interface OrderMenuDAO {
	
	/**
	 * 添加
	 * @param o
	 * @return
	 */
	public OrderMenu saveOrderMenu(OrderMenu o);
	
	/**
	 * 修改
	 * @param o
	 * @return
	 */
	public OrderMenu updateOrderMenu(OrderMenu o);
	
	/**
	 * 删除
	 * @param o
	 */
	public void removeOrderMenu(OrderMenu o);
	
	/**
	 * 根据ID查询
	 * @param id
	 * @return
	 */
	public OrderMenu findOrderMenuById(long id);
	
	/**
	 * 根据订单ID查询
	 * @param orderId
	 * @return
	 */
	public OrderMenu findOrderMenuByOrderId(long orderId);
}
